You `MemBlock` idea is interesting. I guess it has 2 main drawbacks:

  1. I don't know how to cast a `seq[]` or `string` into a portion of a 
`RawArray`. I guess I could map `ptr Object`, for some unsafe operations, but a 
big reason why I'm using Nim instead of C++ is the strong bounds-checking.
  2. mmap/munmap are expensive, so I'd rather not re-run them for each task. If 
it's still faster than my Python+C alternative, I could live with that though.


Reply via email to