for /R %i in (*.jpg) do cjxl.exe --lossless_jpeg=1 "%i" "%~dpni.JXL"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>DbSchema License Key Generator</title> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| bktree3.py, by phash | |
| Based on bktree.py by bearophile ( http://code.activestate.com/recipes/572156-bk-tree/ ) | |
| Fixed for python 3 | |
| Fast Levenshtein distance and BK-tree implementations in Python. | |
| """ | |
| def editDistance(s1, s2): | |
| """Computes the Levenshtein distance between two arrays (strings too). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Exiftool example to process multiple commands without paying the initialization time | |
| # for each call writing to an argument file | |
| # | |
| cls; | |
| $Inputdir = "C:\Photos\Personal\[2007]\[2007-00-00] Test & Test" | |
| # initializes argument file | |
| if (Test-Path c:\temp\tmp.args) { del c:\temp\tmp.args; }; | |
| $null | Out-File c:\temp\tmp.args -Append -Encoding Ascii; |
$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
