rclone/backend/onedrive
LXY dc5d5de35c
onedrive: improve speed of quickxorhash
This commits ports a fast C-implementation from https://github.com/namazso/QuickXorHash

It uses new crypto/subtle code from go1.20 to avoid the use of unsafe.

Typical speedups are about 25x  when using go1.20

    goos: linux
    goarch: amd64
    cpu: Intel(R) Celeron(R) N5105 @ 2.00GHz
    QuickXorHash-Before  2.49ms   422MB/s ±11%   100.00%
    QuickXorHash-Subtle  87.9µs 11932MB/s ± 5% +2730.83% + 42.17%

Co-Author: @namazso
2023-01-26 11:50:12 +00:00
..
api all: fix spelling across the project 2022-08-30 11:16:26 +02:00
quickxorhash onedrive: improve speed of quickxorhash 2023-01-26 11:50:12 +00:00
onedrive.go onedrive: disable change notify in China region since it is not supported 2022-09-16 16:57:29 +01:00
onedrive_test.go onedrive: add support for china region operated by 21vianet #4963 (#4963) 2021-01-29 23:04:21 +03:00