This website requires JavaScript.
Explore
Help
Sign in
github
/
hugo
Watch
1
Star
0
Fork
You've already forked hugo
0
mirror of
https://github.com/gohugoio/hugo.git
synced
2024-12-24 00:21:51 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
be1a566203
hugo
/
.gitignore
12 lines
97 B
Text
Raw
Normal View
History
Unescape
Escape
Update .gitignore to ignore *.swo files For the fellow vim user.
2013-08-23 21:44:43 +00:00
hugo
docs/public*
hugo.exe
Add test binaries to .gitignore
2015-01-20 15:47:15 +00:00
*.test
Improve abs url replacement speed This commit replaces the multuple `bytes.Containts` and `bytes.Replace` with a custom replacer that does one pass through the document and exploits the fact that there are two common prefixes we search for, `src=` and `href=`. This is both faster and consumes less memory. There may be even better algos to use here, but we must leave some room for improvements for future versions. This should also make it possible to solve #816. ``` benchmark old ns/op new ns/op delta BenchmarkAbsUrl 25795 22597 -12.40% BenchmarkXmlAbsUrl 17187 11166 -35.03% benchmark old allocs new allocs delta BenchmarkAbsUrl 60 33 -45.00% BenchmarkXmlAbsUrl 30 16 -46.67% benchmark old bytes new bytes delta BenchmarkAbsUrl 5844 4167 -28.70% BenchmarkXmlAbsUrl 3754 2069 -44.89% ``` Fixes #894
2015-02-16 09:48:15 +00:00
*.prof
nohup.out
Add test coverage files to .gitignore
2015-01-20 11:09:22 +00:00
cover.out
Update .gitignore to ignore *.swo files For the fellow vim user.
2013-08-23 21:44:43 +00:00
*.swp
*.swo
.DS_Store
Ignore content files ending in ~ Also add *~ to .gitignore
2014-02-28 05:26:17 +00:00
*~
Reference in a new issue
Copy permalink