aboutsummaryrefslogtreecommitdiffstats
path: root/util/paths.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.paths: Optimize path joining with few argumentsKim Alvefur2020-10-111-2/+12
| | | | | | | | | A casual search suggests that the majority of paths.join() calls involve only two arguments. This saves the creation of a table for up to 3 arguments. Looks like 3x faster for 3 arguments or less, 5% slower when it uses the array to concatenate.
* util.paths: Don't treat path as pattern, fix traceback (thanks Menel87)Kim Alvefur2019-11-081-2/+2
|
* util.paths: Fixed file termination for package.cpath's extra pathJoão Duarte2019-08-161-1/+1
|
* util.paths: Refactored a variable, to avoid shadowingJoão Duarte2019-08-011-4/+4
|
* util.paths: Added the function 'complement_lua_path'João Duarte2019-08-011-0/+16
|
* util.paths: Add function for joining path segmentsKim Alvefur2014-11-081-0/+6
|
* core.configmanager: Move path utility functions into util.pathsKim Alvefur2014-05-091-0/+38