Has anyone had the need to port the Perl library Parse::AFP to Ruby?
I’m trying to use the Perl version right now and I’m having some nasty
memory usage issues (iterating through a 21MB AFP file consumes over
1GB of RAM). Since I dont know Perl very well, a Ruby version would
really help me out if it didnt have the same issues.
Has anyone had the need to port the Perl library Parse::AFP to Ruby?
I’m trying to use the Perl version right now and I’m having some nasty
memory usage issues (iterating through a 21MB AFP file consumes over
1GB of RAM). Since I dont know Perl very well, a Ruby version would
really help me out if it didnt have the same issues.
Just as a quick note Parse::AFP was written by Audrey Tang, of Pugs
fame. She said in this interview:
that the problem in the Perl module was that Perl 5 did not have copy-
on-write by then. She rewrote it in Haskell and the difference in
performance and LOCs was really remarkable.
I don’t know whether this, in her opinion, intrisic limitation is
found in Ruby as of today.
that the problem in the Perl module was that Perl 5 did not have copy-
on-write by then. She rewrote it in Haskell and the difference in
performance and LOCs was really remarkable.
I don’t know whether this, in her opinion, intrisic limitation is
found in Ruby as of today.