Project

General

Profile

« Previous | Next » 

Revision e712bc9b

Added by Eregon (Benoit Daloze) almost 2 years ago

[ruby/yarp] Move efficient file reading using demand paging to librubyparser

  • So it can be reused by the Fiddle backend, etc and not just the C extension.
  • Add YP_STRING_MAPPED to use a consistent interface for yp_string_t.
    That way yp_string_free() can be used like for other string types.
  • Fix handling of empty file for !HAVE_MMAP && !_WIN32

https://github.com/ruby/yarp/commit/e40bc35801