HomeSoftware Heritage

use `objstorage is None` instead of `not objstorage`

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

use objstorage is None instead of not objstorage

bool(objstorage) uses len(objstorage) != 0, which takes "a little bit"
of time on non-trivial objstorages...

Details

Provenance
olasdAuthored on Mar 3 2022, 7:52 PM
olasdPushed on Mar 3 2022, 7:57 PM
Differential Revision
D7289: use `objstorage is None` instead of `not objstorage`
Build Status
Buildable 27269
Build 42655: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.