Dan Luu

Results 101 issues of Dan Luu

We assume that the dedup buffer is 0 when we start to use it and that we'll clear it during normal operation. If we catch an exception and continue, that...

1. I get the following failure when I use run the integrated NativeJIT tests: ~~~ /Users/visualstudio/dev/temp/BitFunnel/NativeJIT/test/NativeJIT/FunctionTest.cpp:508: Failure Expected: expected Which is: 5794 To be equal to: observed Which is: 11426...

This is basically looping over the `uint64_t` accumulator and looking for 1s. It's possible we can get some speedup here by using an instruction or intrinsic that gives us the...

When we ingest documents, we spend 20% of our time inside `DocumentFrequencyTableBuilder::OnTerm`, plus some time getting the lock for the table. ![image](https://cloud.githubusercontent.com/assets/157136/20026210/e8173cfc-a2b4-11e6-8fbe-df085c15bfe5.png) This is with a script file that's a...

We appear to be spending roughly 3.5% of our time in SimplePlanner in the destructor. ![image](https://cloud.githubusercontent.com/assets/157136/20024747/a9bf5bf6-a2a5-11e6-9a91-a5e9707074eb.png) This may not be the lowest hanging fruit right now, and it's possible that...

If you believe the `Instruments` profiler, my machine spends `3.78s` running `ByteCodeInterpreter::RunOneIteration` when querying chunked1 with the excel-modified DocFreqTable. `370ms`, or 10% of that time is allegedly spent inside `DiagnosticStream::IsEnabled`....

backport

We've already discussed this; just filing a bug so that we're tracking this somewhere. Here's an example of three consecutive terms, two of which share all but one row, and...

We specifiy `project(name)` and not (for example `project name CXX C`).

#117 is now fixed, but the issue could have been prevented by passing ownership around appropriately.

c++

The private members are ~~~ // TODO: Convert ThreadManager to use std::vector std::vector m_threads; std::unique_ptr m_threadManager; BlockingQueue m_queue; ~~~ It's possible that completing the TODO would make TaskPool RAII.