middleman/middleman-core/lib
Mark Rowe dcd36a4f99 Eliminate quadratic behavior in SourceWatcher::poll_once!.
Both `Array#reject` and `Array#include?` have linear time
complexity. This results in quadratic time complexity when
`Array#include?` is called within `Array#reject`'s block. Using
`Array`'s difference operator gives the same result in linear time.

In a site with ~14,000 files, this drops the time taken by some calls to
`SourceWatcher::poll_once!` from ~15 seconds each to just a few
milliseconds.
2016-08-11 00:24:42 -07:00
..
middleman Fix Rack support. Closes #1501 2015-04-24 10:32:05 -07:00
middleman-core Eliminate quadratic behavior in SourceWatcher::poll_once!. 2016-08-11 00:24:42 -07:00
middleman-core.rb split up util module, fix some rubocop complaints 2016-01-31 14:13:52 -08:00