> It should be simple: use Array for your data. Doing data-processing in big blocks often improves performance, and when I checked the effect of a very small buffer, it was quite significant. But arrays are no option for me, because my data isn't structured that way: It's a stream of different elements (timestamp, type, and a payload that depends on the type), so I have evaluate byte-by-byte…
But it seems I'm lucky, because the next format fits well into arrays :-). I guess I'll give it a try, and I'll share my insights here if they are worth it (most likely, I won't write a comparison implementation in C if Swift is fast enough…) Thanks, Tino _______________________________________________ swift-users mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-users
