sdsl-lite icon indicating copy to clipboard operation
sdsl-lite copied to clipboard

Use TMPDIR instead of cwd for temporary files during construction

Open cartoonist opened this issue 6 years ago • 1 comments

In cache_config constructor, the default directory for temporary files is initialised by current working directory (./). It would be more convenient if it uses the value of TMPDIR environment variable to set the default directory.

cartoonist avatar Mar 17 '18 17:03 cartoonist

I would like to add a minor comment; isn't this line redundant:

    tMSS file_map;

Since it is not used later in the function.

cartoonist avatar Mar 17 '18 17:03 cartoonist