Commit graph

35 commits

Author SHA1 Message Date
Bond_009 b5f0760db8 Use RegexGenerator where possible 2023-06-28 17:07:57 +02:00
Bond_009 5012c09368 Optimize GetMD5 function
|                       Method |     Mean |   Error |  StdDev |  Gen 0 | Allocated |
|----------------------------- |---------:|--------:|--------:|-------:|----------:|
|                          Old | 795.1 ns | 5.90 ns | 4.61 ns | 0.0029 |     312 B |
| HashDataInsteadOfComputeHash | 396.1 ns | 1.36 ns | 1.13 ns | 0.0014 |     152 B |
|      StackallocedDestination | 395.8 ns | 1.80 ns | 1.60 ns | 0.0014 |     152 B |
|                   RentBuffer | 498.8 ns | 3.35 ns | 2.97 ns |      - |      40 B |

Tested multiple possible speedups, in the end the simplest of them all won
2022-04-09 20:17:07 +02:00
Bond_009 91c2a57b28 Enable nullable reference types for MediaBrowser.Common 2021-05-05 12:57:01 +02:00
Bond_009 7f4a229cd2 Add some simple tests 2020-04-20 10:18:12 +02:00
Bond_009 2ef4ffd698 More warnings (removed) 2019-12-11 00:13:57 +01:00
Bond_009 c9820d30ed Fix multiple mistakes and warnings 2019-09-23 20:32:44 +02:00
Bond-009 b44a70ff36 Simplify/remove/clean code
* Remove useless runtime check (we only support one)
* Remove unused args
* Remove a global constant

And ofc fix some warnings ;)
2019-03-25 22:25:32 +01:00
Erwin de Haan ba610b5094 Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Erwin de Haan 106d1d18ed Visual Studio Reformat: MediaBrowser.Common 2019-01-13 20:25:11 +01:00
Bond_009 3a65fb1da2 Remove obsolete GetMBId 2019-01-02 17:58:44 +03:00
Andrew Rabert a86b71899e Add GPL modules 2018-12-27 18:27:57 -05:00
stefan 48facb797e Update to 3.5.2 and .net core 2.1 2018-09-12 19:26:21 +02:00
Luke Pulverenti a8b340cbb2 update portable projects 2016-11-08 13:44:23 -05:00
Luke Pulverenti 07791d46a5 rework scheduled tasks in preparation of common project going portable 2016-10-23 15:14:57 -04:00
Luke Pulverenti d26707708d move string.Replace extension 2015-01-17 15:12:02 -05:00
Luke Pulverenti 42b1416602 begin work on daily episodes 2014-12-22 22:58:14 -05:00
Luke Pulverenti dc8fb33a1f updated nuget 2014-12-01 07:43:34 -05:00
Luke Pulverenti d7bdb744ca add new image params 2014-11-30 14:01:33 -05:00
Luke Pulverenti 1afb28b487 add cinema mode feature 2014-09-22 17:56:54 -04:00
Luke Pulverenti 37f0e23bf4 fixes #538 - Support additional artist splitting 2013-09-17 10:32:31 -04:00
Luke Pulverenti c59e49a8ed revert single/multi transition. too risky for now. 2013-08-18 11:23:28 -04:00
Luke Pulverenti 1df5839eb0 factor mixed folder value into item id 2013-08-16 16:13:45 -04:00
Luke Pulverenti 48265fefa4 update nuget 2013-07-08 22:38:18 -04:00
Luke Pulverenti 785deff188 removed excess hashing in providers and made user data key-based 2013-04-13 14:02:30 -04:00
Luke Pulverenti 7806ccd42f resharper suggestions in common project 2013-04-10 11:38:23 -04:00
Luke Pulverenti 11d282388a better dashboard background and text adjustments 2013-04-01 14:55:56 -04:00
LukePulverenti 0cc0fbbe43 #22 - Need to strip html tags from overviews 2013-03-12 18:49:45 -04:00
LukePulverenti 2d342c02ef convert playback checkins to rest 2013-02-24 21:41:51 -05:00
LukePulverenti 465f0cc1e2 moved some network code to the networking assembly 2013-02-23 12:54:51 -05:00
LukePulverenti 868a7ce9c8 isolated clickonce dependancies 2013-02-21 23:23:06 -05:00
LukePulverenti 767cdc1f6f Pushing missing changes 2013-02-20 20:33:05 -05:00
ebr11 Eric Reed spam da618f13e2 Fix up directory watchers 2012-09-20 13:53:10 -04:00
ebr11 Eric Reed spam 0f078d8098 Move NeedsRefresh to async task and fix problem finding episode metadata 2012-09-18 15:18:15 -04:00
ebr11 Eric Reed spam e5b5861abf Need to be more intelligent finding paths we're already watching 2012-09-18 07:22:49 -04:00
ebr11 Eric Reed spam 17106ea5c7 Initial commit changing to on-demand child loading and validations 2012-09-17 11:12:43 -04:00