Files
gerrit/java
Edwin Kempin 8103d8109a GetRevisionActions: Remove ETag
The computation of the ETag takes as long as doing the real computation.
This defeats the purpose of using ETags, hence rather drop it. This cuts
the execution time by half for cases where the ETag didn't match
(because instead of computing the ETag and the actual value, we now only
need to compute the actual value). For cases where the ETag matched the
execution time should roughly stay the same (instead of the ETag we now
compute the actual value, but this should take the same amount of time).

Keep the etag() method on the RevisionApi interface to not break
implementors of this interface.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Ia3db97037755fc364af4d1cb8fef94bb1e69fb5a
2021-01-18 09:10:25 +01:00
..
2020-07-29 13:05:45 +02:00