Graeme Defty
unread,Mar 1, 2011, 1:51:20 AM3/1/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Sean Cribbs, neoto...@googlegroups.com, Tony Arcieri, Reia Mailing List
Sean,
One of the things that was getting me all twisted in the build was the fact that I had Neotoma installed and I did not realise that I was pulling parts of the install into my development version.
To fix this I made a change to pull the includes from the priv directory relative to the .beam file, rather than relative to the app (which seems always to get the installed version). The other alternative would always be to replace the installed version, but that seemed a little too intrusive.
The other thing I did was to rename the peg_includes.erl to peg_includes.hrl, which seemed more in keeping with its role. As a knock-on, this led to a few other changes, of course. I hope I have not done violence to any of your more treasured concepts.
One other slight change I made was to improve the encapsulation of the memo mechanism by collecting all detail of the internals into the access functions get_memo() and memoize(). The intent was to make it easier to experiment with different memoizing mechanisms. I have already made use of this to test out a theory that ets may be costing us heavily, and so I replaced it with a proplist (so that made a proplist keyed by Index with each entry being a proplist keyed by Name). I was curious as to how much copying ets was doing, and thought that this may perform better. It didn't - lol. I will not bother to post that branch unless anyone is really interested to see what I did. (May be that I made some error - I confess to some surprise that it was about twice a slow!)
Anyway, pull request on its way.
g
_____________________________________________________
On 1 March 2011 08:12, Sean Cribbs
<seanc...@gmail.com> wrote:
Graeme,
This is exciting news! Send me a pull-request for your changes to
neotoma and I'll merge them in.
Sean