andreasronge/neo4j — pull request #75 by vivekprahlad (2011-11-24 11:19:56+00:00)
Title: More performance tweaks

Hi Andreas,

Here's another set of performance tweaks:
- Preventing Neo4j::Rails::Model from being treated as a parent indexer (this is similar to the previous issue where a rule node was getting created for the rails model base class)
- Using has_key? instead of include? for several hashes
- Dropping down to the java API to create relationships to the rule node
- Iterating over created nodes once (instead of 3 times previously) in the event_handler

Cheers,
Vivek