Since Delphi2010 enhanced the RTTI reflection mechanism, the compiled program becomes larger because by default Delphi2010 adds Rtti information to all classes (oh, no matter you use it, as if the practical value is really not high, at least I will not use at present). Although the speed of the operation of the program has little impact, but will increase the size of the installation program, which we do not want to see. Is there a way to disable Rtti
Unity3d How to reduce the size of the package to the extreme, the picture is the most space in the game app resources, so please do not understand u3d to the picture file storage way to understand, see "unity3d-texture image Space and memory consumption analysis." Because U3d does not elaborate on the compression of resources, many projects have a headache when t
number of label frames, where the head length is 10 bytes, 10 byte structure as table 1:
0
1
2
3
4
5
6
7
8
9
Content is "ID3"
Version number
Sub-version number
Bytes holding the flag
ID3v2 total size (sum of several label frames after the frame header and after)
Table 1
Since the meaning of 3, 4, 5 bytes is not the focus of MP3
.
Because the webpage traffic is too large, Javascript is too fat, and so on, in fact, Microsoft has provided some good solutions, the following three items can be matched, you can get very good results:
IIS web page compression: static IIS files (html, CSS, JS ...) , Dynamic files (asp, aspx ...) Compression can greatly reduce web page traffic. When the compression ratio is set to the highest, the traffic can be compressed to about 30%.
DOLOTO script
as we all know, through Cocos2d Development of the hand package is generally large, moving hundreds of M of the installation package, while the bulk of the package will lead to the increase in the cost of hand-travel promotion, will also affect the user conversion rate. In addition to other factors, users in the selection of downloads, will focus on the game package size, the game package volume is too large, the download time is long, will also cause
Linux uses lvresize to expand or reduce the LV size
Environment: CentOS 6.71. Create and mount the directory/u01 and/data
1. create directory Mount node/u01,/data
mkdir -p /{u01,data}
2. Create an lv named lv_u01 with a size of 10 Gb. Divide the space from vg_bkjia. vg_bkjia here is the vg name.
lvcreate -L 10g -n lv_u01 vg_bkjia
3. format it as an ext4
Reduce the size of the program compiled by Delphi xe5 By default, the size of programs compiled by Delphi XE, xe2, xe3, xe4, xe5, xe6... is very large. Generally, two methods can be used to greatly reduce the program volume. I. It is very easy to disable rtti by using compilation instructions in the project. Y
reduce the PNG image storage size method, image compression method, how to reduce the size of PNG image storage. The premise is that the resolution and size are the same, and the transparent part of the graph remains the same. Please see the following method, the pro-test is
Generally do not recommend to do 4th, 62 steps, 4th step unsafe, it is possible to damage the database or loss of data. 6th step if the log reaches the upper limit, subsequent database processing will fail, and the log will not be restored until it is cleaned.
1. Empty log
DUMP TRANSACTION Library name with NO_LOG
2. Truncate the transaction log
BACKUP LOG database name with NO_LOG
3. Shrink Database files
(If not compressed, the database file
MFC project files after compiling and running the project size is often more than 100M, the following describes the vs2010 to reduce the size of MFC project method.Project file size before shrinking: 120M.The method is divided into two steps:(1) Cleaning solution: on the vs2
Reducing the MRP data packet size is saving memory space!
Since the MRP file is a compressed package of binary compilation, that is to say, the file will be loaded into the memory, occupying only less than KB of memory, so we should try to reduce the size of the
check our final hello-world_0.1_all.snap file size:
$ ls-alh Total
28K
drwxrwxr-x 3 liuxg liuxg 4.0K March 1 09:45.
Drwxrwxr-x 3 liuxg liuxg 4.0K March 1 09:19.
-rw-rw-r--1 liuxg liuxg 28 March 1 09:19 gitignore-rw-rw-r--
1 liuxg liuxg 22 March 1 09:19 hello.py
The entire. snap file has only a small 4k size
mp3 file album art a little Bit of knowledge(2013-04-22 22:40:09) reprinted
Tags: android mp3 id3 cover it
Category: Android mechanism
First of all, the MP3 file's album cover data is encoded in the MP3 file
With the image upload function, I save image data to the database. I need to reduce the image size and save it to the database with the original image. In this way, a lot of small images can be displayed first, and then a large image will be displayed! This is done in Asp.net:
Code in changimage. aspx:
The code in changimage. aspx. vb is as follows:
Public Class changimage
Inherits System. Web. UI. Page
Pro
Modify function djinfo ($ dir) for obtaining mp3 file information using php)
{
If (! File_exists ($ dir) return '';
If (substr (php_uname ('s '),) = "Windows") {// not supported by LINUX
$ Player = new COM ("WMPlayer. OCX ");
$ Media = $ player-> newMedia ($ dir );
$ Time = $ media-> duration; // Obtain the duration
@ $ S_bitrate = $ media-> getItemInfo (Bitrate); // get the bit rate
@ $
A relatively simple program does not have much to use. I just want to know if it will produce results.
Tired is very tired, but still feel very passionate!It feels good to write a bit of information about reading the MP3 file ID3V1!Recently, I used Swing to write a program for renaming MP3 files based on tag information. It seems that it is not very difficult to
More and more people have the ability to buy and have a camera of their own, and at any time to photograph the good things around, but we found that the camera photographed the files are very high pixel, so the photos are large, high resolution and even reached 10M.
Some photos, however, do not need to be viewed in detail, so they waste hard disk space. So how to quickly reduce the size of the picture? Tod
Tags: delete deleted record database space size does not decreaseI remember when I was in college, when I was learning computer, the teacher told me that the delete record only adds a delete ID to the record in the database, so that the database space is not reduced, then did not think so much, yesterday found a database using delete deleted capacity unchanged, Baidu later found the following a webmaster to share the
Cflags + =-ffunction-sections-fdata-SectionsLdflags + =-wl,-map = object. Map, -- cref, -- GC-Section
If found overlap error, add one line in link script:
. Text {
* (. Text .*)}
By adding the cflags option, each function is placed in a separate section, and unused functions are automatically removed during the link. To reduce the size of executable files.
-Wl,-map = object. MAP: outputs a map
In the Word2013 document, users can remove data that is used to restore edited pictures to their original state by using the Discard Edit Data feature. This can effectively reduce the size of the word file that contains the picture, as described in the following steps:
Step 1th, open the Word2013 document window, and click the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.